<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>无标题文档</title>
		<link href="__STATIC__/Admin/css/style.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="__STATIC__/hdjs/hdjs.min.js"></script>
		<link rel="stylesheet" type="text/css" href="__STATIC__/hdjs/hdjs.css"/>
		
		<script type="text/javascript" src="__STATIC__/uploadify/jquery-1.8.2.min.js"></script>
		<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
		<link rel="stylesheet" type="text/css" href="__STATIC__/uploadify/uploadify.css" />

		<include file="__VIEW__/Common/upload.html"/>
		<script type="text/javascript">
			$(function(){
				showUploadify('logo');
			});
		</script>
		
		<script type="text/javascript">
			$(function() {
				$('form').validate({
					bname: {
						rule: {
							required: true,
							maxlen: 20
						},
						error: {
							required: "品牌名称不能为空",
							maxlen: '品牌名称不能超过20个字符'
						}
					},
					bsort: {
						rule: {
							num:'0,99999',
						},
						error: {
							num: '排序值范围在0～99999之间',
						}
					}
				})
			})
		</script>
	</head>

	<body>

		<div class="place">
			<span>位置：</span>
			<ul class="placeul">
				<li><a href="#">商品管理</a></li>
				<li><a href="#">品牌管理</a></li>
				<li><a href="#">添加品牌</a></li>
			</ul>
		</div>
		<form action="" method="POST">
			<div class="formbody">	
				<div class="formtitle"><span>添加品牌</span></div>	
				<ul class="forminfo">
					<li>
						<label>品牌名称</label>
						<input name="bname" type="text" class="dfinput" />
					</li>
					<li>
						<label>品牌LOGO</label>						
						<div lab="uploadFile" style="float:left">
							<div id="uploadDiv">
				            		<input id="file" type="file" multiple="true">
				            		
				            </div>
				            <div id="uploadList">            		
				                <ul>                		
				                </ul>
				            </div>
				            <div style="clear: both;"></div>
				        </div>	
				        <div id="uploadTip">
				        		<i>类型: *.jpg,*.png 大小: 2000KB 数量: 1</i>
				        </div>
					</li>
					<li>
						<label>是否热门</label>
						<cite>
				    			<input name="ishot" type="radio" value="0" checked="checked" />&nbsp;否&nbsp;&nbsp;&nbsp;&nbsp;
				    			<input name="ishot" type="radio" value="1" />&nbsp;是
				    		</cite>
					</li>
					<li>
						<label>排序</label>
						<input name="bsort" type="text" class="dfinput" value="0"/>
					</li>
					<li>
						<label>&nbsp;</label>
						<input name="" type="submit" class="btn" value="确认添加" />
					</li>
				</ul>	
			</div>
		</form>
	</body>

</html>